package com.wzdigit.wms.wms.service.core;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wzdigit.wms.basic.domain.oqc.QmsOqc;
import com.wzdigit.wms.basic.mapper.core.oqc.QmsOqcMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class QmsOqcManagerService {

    @Autowired
    QmsOqcMapper qmsOqcMapper;

    /**
     * 获取 送检单 信息
     *
     * @param billNos
     * @return
     */
    public List<QmsOqc> selectListByOqcs(List<String> billNos) {
        QueryWrapper<QmsOqc> queryWrapper = new QueryWrapper<>();
        queryWrapper.in("OQC", billNos);
        return this.qmsOqcMapper.selectList(queryWrapper);
    }
}
